/*
 * This would just change the value of j because we are passing address of j in calling function
 * the changed value of i getting stored in local variable i.
 * On other size a new values of j is getting stored at the address of j.
 */

#include <stdio.h>

static void junk(int , int *);

int main()
{
	int i = -5, j = -2;

	junk (i, &j);
	printf("i = %d\nj = %d\n", i, j);

	return 0;
}

static void
junk(int i, int *j)
{
	i = i * i;
	*j = *j * *j;
}
